﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

using BLL;
using Dynamics.Enums;

namespace Batch
{
    public partial class BatchForm : Form
    {
        public BatchForm()
        {
            InitializeComponent();

            try
            {
                OpportunityParser parser = new OpportunityParser();
                parser.ParseData();
            }
            catch (Exception ex)
            {
                LogProvider.SaveLog(LogType.GeneralError, ex.ToString());
            }
            Environment.Exit(-1);
        }
    }
}
